package com.qxzn.app.api.greendao.bean;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Generated;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.NotNull;
import org.greenrobot.greendao.annotation.Unique;

@Entity
public class AlarmClockBean {

    @Id(autoincrement = true)
    private Long id;
    @NotNull
    private Long recordId;//吃药提醒数据id
    @NotNull@Unique
    private int alarmId;//创建的闹钟的唯一标识
    @NotNull
    private String username;
    private int gender;
    private int age;
    private long createTime;//吃药提醒创建时间
    private String remark;//备注内容，用于播报
    @NotNull
    private int repeatType;//重复类型  0：每天提醒；1：每周几提醒；2：隔几天提醒；默认为：0
    private String repeatValue;//repeatType=0：无；  1:1-7（星期几）；  2：数字（提醒的间隔天数）
    private String ringtone;//提醒铃声
    @NotNull
    private String reminderTime;//提醒时间  小时和分钟，多个时间用英文逗号隔开，如：08:30,12:05
    @NotNull
    private int state;//闹钟开关
    @NotNull
    private String deviceId;
    @NotNull
    private String medicineList;//提醒需要服用的药品列表，json字符串，包含药品名称，药品图片，服用数量，
    @Generated(hash = 679041836)
    public AlarmClockBean(Long id, @NotNull Long recordId, int alarmId,
                          @NotNull String username, int gender, int age, long createTime,
                          String remark, int repeatType, String repeatValue, String ringtone,
                          @NotNull String reminderTime, int state, @NotNull String deviceId,
                          @NotNull String medicineList) {
        this.id = id;
        this.recordId = recordId;
        this.alarmId = alarmId;
        this.username = username;
        this.gender = gender;
        this.age = age;
        this.createTime = createTime;
        this.remark = remark;
        this.repeatType = repeatType;
        this.repeatValue = repeatValue;
        this.ringtone = ringtone;
        this.reminderTime = reminderTime;
        this.state = state;
        this.deviceId = deviceId;
        this.medicineList = medicineList;
    }
    @Generated(hash = 1521996584)
    public AlarmClockBean() {
    }
    public Long getId() {
        return this.id;
    }
    public void setId(Long id) {
        this.id = id;
    }
    public Long getRecordId() {
        return this.recordId;
    }
    public void setRecordId(Long recordId) {
        this.recordId = recordId;
    }
    public int getAlarmId() {
        return this.alarmId;
    }
    public void setAlarmId(int alarmId) {
        this.alarmId = alarmId;
    }
    public String getUsername() {
        return this.username;
    }
    public void setUsername(String username) {
        this.username = username;
    }
    public int getGender() {
        return this.gender;
    }
    public void setGender(int gender) {
        this.gender = gender;
    }
    public int getAge() {
        return this.age;
    }
    public void setAge(int age) {
        this.age = age;
    }
    public long getCreateTime() {
        return this.createTime;
    }
    public void setCreateTime(long createTime) {
        this.createTime = createTime;
    }
    public String getRemark() {
        return this.remark;
    }
    public void setRemark(String remark) {
        this.remark = remark;
    }
    public int getRepeatType() {
        return this.repeatType;
    }
    public void setRepeatType(int repeatType) {
        this.repeatType = repeatType;
    }
    public String getRepeatValue() {
        return this.repeatValue;
    }
    public void setRepeatValue(String repeatValue) {
        this.repeatValue = repeatValue;
    }
    public String getRingtone() {
        return this.ringtone;
    }
    public void setRingtone(String ringtone) {
        this.ringtone = ringtone;
    }
    public String getReminderTime() {
        return this.reminderTime;
    }
    public void setReminderTime(String reminderTime) {
        this.reminderTime = reminderTime;
    }
    public int getState() {
        return this.state;
    }
    public void setState(int state) {
        this.state = state;
    }
    public String getDeviceId() {
        return this.deviceId;
    }
    public void setDeviceId(String deviceId) {
        this.deviceId = deviceId;
    }
    public String getMedicineList() {
        return this.medicineList;
    }
    public void setMedicineList(String medicineList) {
        this.medicineList = medicineList;
    }

}
